-- GENERATED SPELL FOR [High Captain Justin Bartlett] --


function spell0_30344(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(42724,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30344', 649, 1)
end

function Sorts_30344(pUnit, Event)
local choix_sorts_30344 = math.random(0, 0)
if choix_sorts_30344 == 0 then
pUnit:RegisterEvent('spell0_30344', 1, 1)
end
end

function mob30344_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30344', math.random(1500, 3000), 1)
end

function mob30344_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30344_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30344_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30344, 1, 'mob30344_Action')
RegisterUnitEvent(30344, 2, 'mob30344_Leave')
RegisterUnitEvent(30344, 3, 'mob30344_Kill')
RegisterUnitEvent(30344, 4, 'mob30344_Die')
